<%@taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript">

<!--
    function langSelecter_onChanged() {
        document.langForm.submit();
    }
//-->
</script>
<s:set name="SESSION_LOCALE" value="#session['WW_TRANS_I18N_LOCALE']"/>
<form action="<s:url includeParams="get" encode="true"/>" name="langForm">
    Language: 
    <s:select label="Language" 
         	  list="#{'en_US':'American English','zh_CN':'Simplified Chinese'}" listKey="key"  listValue="value"
        	  value="#SESSION_LOCALE == null ? locale : #SESSION_LOCALE"
        	  name="request_locale" id="langSelecter" 
        	  onchange="langSelecter_onChanged()" theme="simple"/>
</form>